package com.example.demo.entity.system;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户动态字段值实体类
 */
public class SysUserFieldValue implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;
    
    /** 用户ID */
    private Long userId;
    
    /** 字段ID */
    private Long fieldId;
    
    /** 字段值 */
    private String fieldValue;
    
    /** 创建者 */
    private Long createdBy;
    
    /** 创建时间 */
    private Date createdAt;
    
    /** 更新者 */
    private Long updatedBy;
    
    /** 更新时间 */
    private Date updatedAt;
    
    /** 关联的字段定义 */
    private SysSubsystemField field;
    
    /** 关联的字段选项值（如果是选择类型） */
    private String optionValue;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getFieldId() {
        return fieldId;
    }

    public void setFieldId(Long fieldId) {
        this.fieldId = fieldId;
    }

    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public SysSubsystemField getField() {
        return field;
    }

    public void setField(SysSubsystemField field) {
        this.field = field;
    }

    public String getOptionValue() {
        return optionValue;
    }

    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue;
    }
} 